<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    
</body>
<script src="../js/vue.js"></script>
<script>
    let Vue={
        msg:"hahhah"
    }
    console.log(Vue.msg)
    Vue.b="新属性";
    console.log(Vue.b);
    Object.defineProperty(Vue,"c",{
        get:function(){
            return "c的值"
        },
        set:function(newVal){
            this.b=newVal;
        }
    })
    console.log(Vue.c)
    Vue.c="新的c值"
    console.log(Vue.b)
</script>
</html>